package com.chukun.search.services;

import com.qiniu.common.QiniuException;
import com.qiniu.http.Response;

import java.io.File;
import java.io.InputStream;

public interface IQiniuFileUploadService {

    Response uploadFileToQiniuWithFile(File file) throws QiniuException;

    Response uploadFileToQiniuWithStream(InputStream inputStream) throws QiniuException;

    Response deleteFileInQiniu(String key) throws QiniuException;
}
